package server;

public enum RulesTableType
{
	IN, OUT;

	public String toString()
	{
		switch(this)
		{
		case IN:
			return "Input";
		case OUT:
			return "Output";
		}
		return null;
	}

	public int toInt()
	{
		switch(this)
		{
		case IN:
			return 0;
		case OUT:
			return 1;
		}
		return -1;
	}

	public static int size()
	{
		return 2;
	}
}